package com.bauer.java.springboot.simpleapp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cglib.core.DebuggingClassWriter;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;


@SpringBootApplication
@EnableHystrix
@MapperScan(basePackages = {"com.bauer.java.springboot.simpleapp.mapper"})
public class SpringbootBaseApplication {

    public static void main(String[] args) {
        System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY, "D:\\class");
        System.getProperties().put("sun.misc.ProxyGenerator.saveGeneratedFiles", "true");
        SpringApplication.run(SpringbootBaseApplication.class);
    }
}
